package com.gofaraway.service.export.service;

import org.apache.commons.lang3.tuple.MutablePair;

import java.io.FileOutputStream;
import java.util.Map;

/**
 * @author ChenPeng
 * @Date 2024/5/14 17:30
 */
public interface AbstractExportExcelService {

    /**
     * easyExcel 导出数据
     *
     * @param queryMap
     * @param out
     * @return left 执行是否成功，right 文件名称
     */
    MutablePair<Boolean, String> easyExcelExportData(Map<String, String> queryMap, FileOutputStream out);
}
